<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>留言分类</h2>
    </div>
    <form action="{:U('save')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">留言分类名<span class="check-tips">（请认真设置您的留言分类名，方便留言进行分类）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="name" value="{$data['name']}">
            </div>
        </div>
        <div class="form-item">
			<input type="hidden" name="id" value="{$data.id|default=''}"/>
            <button class="btn submit-btn" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>